﻿using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Data;
using System.Drawing;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using System.Windows.Forms;

namespace duochuankouweituo
{
    //创建委托
    public delegate void zhu(string b);


    public partial class FrmMain : Form
    {
        public FrmMain()
        {
            InitializeComponent();
        }

        //方法
        public void fu(string b)
        {

            this.textBox1.Text += b+"\b\r";
        }


        private void button1_Click(object sender, EventArgs e)
        {
            
            for (int i = 1; i < 4; i++)
            {
                FrmSer mian = new FrmSer(i);
                mian.Show();

                mian.diyi = fu;

            }
        }
    }
}
